/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package UI;

/**
 *
 * @author GUR04686
 */
public class ExtendedMenuItem extends javax.swing.JMenuItem {
    private EventPerformerEnums performer_id;
    private Object window_object;
    private Object source_object;
    
    public ExtendedMenuItem(String name, EventPerformerEnums performer_id, Object obj) {
        super(name);
        this.performer_id = performer_id;
        window_object = obj;
    }
    
    public ExtendedMenuItem(String name, EventPerformerEnums performer_id, Object source, Object obj) {
        super(name);
        this.performer_id = performer_id;
        window_object = obj;
        source_object = source;
    }
    
    public EventPerformerEnums get_performer_id() {
        return performer_id;
    }
    
    public Object get_info_object() {
        return source_object;
    }
    
    public Object get_app_window_object() {
            return window_object;
    }
}

